package com.huahua.graduateschoolspringboot.entity;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

/**
 * @author LoveHuahua
 * @date 2022年08月13日 1:49
 * @description believe in yourself
 */
@Data
public class PageParam {

    private Integer offset = 1;

    private Integer pageSize = 10;


    public <T> Page<T> getPage() {
        return new Page<>(offset, pageSize);
    }
}
